package xby.study.proxy.cglib;

import java.net.URL;

public class PathUtil {
    public static String getOutPath(Class<?> clazz) {
        String clazzName = clazz.getSimpleName() + ".class";
        URL url = clazz.getResource(clazzName);
        String path = url.getPath();
        path = path.replace("target/classes", "src/main/java").replace(clazzName, "out");




        return path;
    }
}
